import java.io.FileInputStream;
import java.io.InputStream;

import com.google.code.shardbatis.builder.ShardConfigHolder;
import com.google.code.shardbatis.builder.ShardConfigParser;
import com.google.code.shardbatis.strategy.ShardStrategy;

public class T {
public static void main(String[] args) throws Exception {
	ShardConfigParser shardConfigParser=new ShardConfigParser();
	InputStream input=new FileInputStream("D:\\yd\\project\\shardbatis_yd\\src\\main\\resources\\shardbatis-config.xml");
	shardConfigParser.parse(input);
	ShardConfigHolder configHolder = ShardConfigHolder.getInstance();
	ShardStrategy aa = configHolder.getStrategy("t_ucp_contactcontrol_attr") ;
 }
}
